﻿

using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;
using System.ComponentModel.DataAnnotations;

namespace Model
{
   
    public partial class ReceiptEntity 
    {
        [Key]
        /// <summary>
        /// ReceiptID
        /// </summary>
        public int? ReceiptID
        {
            get;
            set;
        }

        
        /// <summary>
        /// 合同号
        /// </summary>
        public String ContractNo
        {
            get;
            set;
        }

        
        /// <summary>
        /// 明细表的自增长 id 字段
        /// </summary>
        public String ReceiptNumber
        {
            get;
            set;
        }

       
        /// <summary>
        /// 回坯号
        /// </summary>
        public String InBatchNo
        {
            get;
            set;
        }

     
        /// <summary>
        /// 收货时间
        /// </summary>
        public DateTime? ReceiptDate
        {
            get;
            set;
        }

     
        /// <summary>
        /// 收货量(需要付款的)
        /// </summary>
        public Decimal? Quantity
        {
            get;
            set;
        }

      
        /// <summary>
        /// 合同数据是来自哪里？可选的值有: 
        /// GEK-1: PlanningDB.pcContractHead
        /// GEK-2: PlanningDB.pcOutSourcingContract
        /// GEW:   PPODB.scContract
        /// GES-1: PPCDB.pcContractHDR
        /// GES-2: DYSDB.pcScContractHDR
        /// GES-3: FYDB.pcScContractHdr
        /// GLS-1: PPCDB.pcContractHDR
        /// GLS-2: DYSDB.pcScContractHDR
        /// GLS-3: FYDB.pcScContractHdr
        /// OAS: GeneralTask
        /// </summary>
        public String DataSource
        {
            get;
            set;
        }

   
        /// <summary>
        /// 否已经同步到临时表(表示已经准备好上传到Oracle中)
        /// </summary>
        public String HAS_TRANSMITTED_TO_TEMP_TABLE
        {
            get;
            set;
        }

       
        /// <summary>
        /// 上传时间
        /// </summary>
        public DateTime? UploadDate
        {
            get;
            set;
        }

      
        /// <summary>
        /// 是否需要同步到Oracle
        /// </summary>
        public String POST_TO_ORACLE_FLAG
        {
            get;
            set;
        }

       
        /// <summary>
        /// CreatedBy
        /// </summary>
        public String CreatedBy
        {
            get;
            set;
        }

       
        /// <summary>
        /// CreatedDate
        /// </summary>
        public DateTime? CreatedDate
        {
            get;
            set;
        }

    
        /// <summary>
        /// LastUpdatedBy
        /// </summary>
        public String LastUpdatedBy
        {
            get;
            set;
        }

      
        /// <summary>
        /// LastUpdatedDate
        /// </summary>
        public DateTime? LastUpdatedDate
        {
            get;
            set;
        }

      
        /// <summary>
        /// Receipt_Quantity
        /// </summary>
        public Decimal? Receipt_Quantity
        {
            get;
            set;
        }

      
        /// <summary>
        /// Receipt_Weight
        /// </summary>
        public Decimal? Receipt_Weight
        {
            get;
            set;
        }

     
        /// <summary>
        /// Remark
        /// </summary>
        public String Remark
        {
            get;
            set;
        }

       
        /// <summary>
        /// Has_Write_To_Oracle_File
        /// </summary>
        public String Has_Write_To_Oracle_File
        {
            get;
            set;
        }

        /// <summary>
        /// 构造函数
        /// </summary>
        public ReceiptEntity()
        {
        }


        
    }
}
